<!-- 文章区域左侧控制栏 -->
<template>
  <div class="article-panel">
    <div class="panel-btn with-badge"><i class="el-icon-s-flag"></i></div>
    <div class="panel-btn with-badge" ><i class="el-icon-s-comment"></i></div>
    <div class="panel-btn"><i class="el-icon-star-on"></i></div>
    <div class="panel-btn">
        <i class="el-icon-share"></i>
    </div>
    <div class="divider"></div>
    <div class="panel-btn"><i class="el-icon-warning"></i></div>
    <div class="panel-btn">
      <el-tooltip class="item" effect="dark" content="沉浸阅读" placement="top">
      <i class="el-icon-s-help"></i>
      </el-tooltip>
      
    </div>
  </div>
</template>

<script>
export default {
  name:'ArticlePanel',
  data () {
    return {
    }
  }
}
</script>

<style  scoped lang="scss">
.article-panel{
    position: fixed;
    margin-left: -84px;
    top: 140px;
    z-index: 2
}

.divider{
  width: 32px;
    background: #e4e6eb;
    height: 1px;
    margin: 0 auto 1.667rem;
}

.panel-btn{
    position: relative;
    margin-bottom: 20.004px;
    width: 48px;
    height: 48px;
    background-color: #fff;
    background-position: 50%;
    background-repeat: no-repeat;
    border-radius: 50%;
    box-shadow: 0 2px 4px 0 rgb(0 0 0 / 4%);
    cursor: pointer;
    text-align: center;
    font-size: 20.04px;
}

.panel-btn.with-badge::after{
  content: "1111";
    position: absolute;
    top: 0;
    left: 75%;
    height: 17px;
    line-height: 17px;
    padding: 0 5px;
    border-radius: 9px;
    font-size: 11px;
    text-align: center;
    white-space: nowrap;
    background-color: #c2c8d1;
    color: #fff;
}
i { 
  font-size:25px; 
  margin-top:25%;
  color: #8a919f;
  &:hover {
    color: #666; 
  }
}
</style>
